﻿#region

using System.Xml.Serialization;

#endregion

namespace BuildPluginInstall
{
    public class InstallXML
    {
        #region Properties

        public enum IDType
        {
            [XmlEnum(Name = "integer")] integer,
            [XmlEnum(Name = "str")] str,
            [XmlEnum(Name = "file")] file
        }

        [XmlElement]
        public int BuildNumber { get; set; }

        [XmlElement]
        public string MainDLL { get; set; }

        [XmlElement]
        public int MajorVersion { get; set; }

        [XmlElement]
        public int MinorVersion { get; set; }

        [XmlElement]
        public string Name { get; set; }

        [XmlElement]
        public int Priority { get; set; }

        [XmlElement]
        public PluginType Type { get; set; }

        [XmlElement]
        public string UpdateURL { get; set; }

        [XmlElement]
        public IDType IdType { get; set; }

        #endregion Properties
    }
}